package com.example.htmlspringtest.service;

import com.example.htmlspringtest.base.service.BaseService;
import com.example.htmlspringtest.dao.CompanyMapper;
import com.example.htmlspringtest.entity.oTestCompany;

import java.util.List;

/**
 * @belongsProject: HTML-Spring-test
 * @belongsPackage: com.example.htmlspringtest.service
 * @author: dongmufengchun
 * @createTime: 2022-06-21  14:50
 * @description: TODO
 * @version: 1.0
 */
public abstract class IsCompanyService extends BaseService<oTestCompany, CompanyMapper> {
    /**
     * 功能简介: 对象查询
     *
     * @return java.util.List<T>
     * @Author dongmufengchun
     * @Date 16:26 2022/6/19
     **/
    @Override
    public List<oTestCompany> findList() {
        return super.findList();
    }

    /**
     * 功能简介: 对象保存
     *
     * @param oTestCompany 对象t
     * @return int
     * @Author dongmufengchun
     * @Date 16:26 2022/6/19
     **/
    @Override
    public int save(oTestCompany oTestCompany) {
        return super.save(oTestCompany);
    }

    /**
     * 功能简介: 对象删除
     *
     * @param id id
     * @return int
     * @Author dongmufengchun
     * @Date 16:26 2022/6/19
     **/
    @Override
    public int delete(Long id) {
        return super.delete(id);
    }

    /**
     * 功能简介: 修改
     *
     * @param oTestCompany 对象t
     * @return int
     * @Author dongmufengchun
     * @Date 16:25 2022/6/19
     **/
    @Override
    public int update(oTestCompany oTestCompany) {
        return super.update(oTestCompany);
    }

    /**
     * 功能简介: 根据ID查询对象
     *
     * @param id id
     * @return T
     * @Author dongmufengchun
     * @Date 16:25 2022/6/19
     **/
    @Override
    public oTestCompany findById(Long id) {
        return super.findById(id);
    }
}

